package com.training.food.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.training.food.pojo.Retail;
import java.util.List;
public interface RetailService extends IService<Retail> {
    boolean select(Retail retail);
    int add(Retail retail);
    void sub(Retail retail);
    void update(Retail retail);
    List<Retail>selectByUser(String username, String state);
    Retail selectById(Retail retail);
    List<Retail> selectAll();
    List<Retail>selectAllNull(String tmp);
    List<Retail>retails(String message);

}
